package com.camelot.boot.module.system.controller.admin.companyrequirement.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import com.camelot.boot.framework.excel.core.annotations.DictFormat;
import com.camelot.boot.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 用户公司需求配置信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CompanyRequirementRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24528")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "公司名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("公司名字")
    private String name;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6637")
    @ExcelProperty("用户id")
    private Long userId;

    @Schema(description = "重点关注")
    @ExcelProperty("重点关注")
    private String focus;

    @Schema(description = "简介", example = "你说的对")
    @ExcelProperty("简介")
    private String description;

    @Schema(description = "公司id", requiredMode = Schema.RequiredMode.REQUIRED, example = "17178")
    @ExcelProperty("公司id")
    private Long companyId;

    @Schema(description = "需求类型")
    @ExcelProperty(value = "需求类型", converter = DictConvert.class)
    @DictFormat("system_requirement") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer type;

    @Schema(description = "备注", example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}